package com.lu.pojo.base;

import java.util.Scanner;
/**
 * @Author:luzhenfang
 * @Date:2020 3 10
 */
public class Grade {
    public static void main(String[] args) {
        int score;
        Scanner sc = new Scanner(System.in);
        score = sc.nextInt();
        if (score > 100) {
            System.out.println("输入不合法");
            return;
        }
        int level;
        level = score / 10;
        switch (level) {
            case 9:
                System.out.println("A");
                break;
            case 8:
                System.out.println("B");
                break;
            case 7:
                System.out.println("C");
                break;
            case 6:
                System.out.println("D");
                break;
            default:
                System.out.println("E");
                break;
        }
    }
}
